package contacts;

/**
 * Created by IntelliJ IDEA.
 * User: Jaan
 * Date: 19.11.11
 * Time: 22:13
 */
public class Contact {

  private String name;
  private String ipAndPort;
  private boolean alreadyFound;

  public Contact() {

  }

  public Contact(String name, String ipAndPort) {
    this.name = name;
    this.ipAndPort = ipAndPort;
  }

  public String getIPAndPort() {
    return ipAndPort;
  }

  public void setIpAndPort(String ipAndPort) {
    this.ipAndPort = ipAndPort;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public boolean isAlreadyFound() {
    return alreadyFound;
  }

  public void setAlreadyFound(boolean alreadyFound) {
    this.alreadyFound = alreadyFound;
  }
}
